<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Gestion_Des_Inscriptions_Universitaires:  Fichier source de /home/omid/Bureau/projet/gestion-des-inscriptions-universitaires-version-finale/src/Date.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Gestion_Des_Inscriptions_Universitaires</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_date_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Date.h</div>  </div>
</div>
<div class="contents">
<a href="_date_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00007"></a>00007 <span class="preprocessor">#ifndef _DATE_H</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define _DATE_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00010"></a>00010 <span class="comment">/* *********************************************************************</span>
<a name="l00011"></a>00011 <span class="comment">                   Librairies de Date</span>
<a name="l00012"></a>00012 <span class="comment"> ********************************************************************* */</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="comment">/* *********************************************************************</span>
<a name="l00019"></a>00019 <span class="comment">                        Définitions de types</span>
<a name="l00020"></a>00020 <span class="comment"> ********************************************************************* */</span>
<a name="l00021"></a>00021 
<a name="l00031"></a><a class="code" href="structs_date.html">00031</a> <span class="keyword">struct </span><a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">sDate</a> {
<a name="l00032"></a><a class="code" href="structs_date.html#a11599dcc9feadeca21b14a78da8c4172">00032</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a11599dcc9feadeca21b14a78da8c4172">jour</a>; 
<a name="l00033"></a><a class="code" href="structs_date.html#a4b14e2d3e1996788533cf7401e6e98e9">00033</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a4b14e2d3e1996788533cf7401e6e98e9">mois</a>; 
<a name="l00034"></a><a class="code" href="structs_date.html#add9049e10a4e76da935ad87e79f356c5">00034</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structs_date.html#add9049e10a4e76da935ad87e79f356c5">annee</a>; 
<a name="l00035"></a><a class="code" href="structs_date.html#a4a1abfda81e08c6312236b17f00a254b">00035</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a4a1abfda81e08c6312236b17f00a254b">heure</a>;
<a name="l00036"></a><a class="code" href="structs_date.html#a8ccf54199aa6a18ea879384260cad09d">00036</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a8ccf54199aa6a18ea879384260cad09d">minute</a>;
<a name="l00037"></a>00037 } ;
<a name="l00038"></a>00038 
<a name="l00043"></a><a class="code" href="_date_8h.html#a5c20e50ee6f56cce1d09b501c7a6225e">00043</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">sDate</a> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> ;
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="comment">/* *********************************************************************</span>
<a name="l00046"></a>00046 <span class="comment">                 Fonction de la structure Date</span>
<a name="l00047"></a>00047 <span class="comment">********************************************************************* */</span>
<a name="l00048"></a>00048 
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#a4dadee0aa90a074dbf5fcbc960bb0e35">initDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#acf90c01a7944bfe5a2563b69c830c0c9">jour</a>, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#a273956a68e89f91530aa8a4b33a94bb5">mois</a>,
<a name="l00056"></a>00056              <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structs_date.html#add9049e10a4e76da935ad87e79f356c5">annee</a>,<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a4a1abfda81e08c6312236b17f00a254b">heure</a>,<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a8ccf54199aa6a18ea879384260cad09d">minute</a>);
<a name="l00057"></a>00057 
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#a0f7b7c002ab6b673517a4ea3ce9a1f41">libDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> * date);
<a name="l00065"></a>00065 
<a name="l00072"></a>00072 <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> * <a class="code" href="_date_8c.html#a91969b639b15aab01753c1fdf3158c0a">creDat</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#acf90c01a7944bfe5a2563b69c830c0c9">jour</a>, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#a273956a68e89f91530aa8a4b33a94bb5">mois</a>,
<a name="l00073"></a>00073               <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structs_date.html#add9049e10a4e76da935ad87e79f356c5">annee</a>,<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a4a1abfda81e08c6312236b17f00a254b">heure</a>,<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a8ccf54199aa6a18ea879384260cad09d">minute</a>);
<a name="l00074"></a>00074 
<a name="l00081"></a>00081 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#af9b759e4f66d43f5e95b54ab3c060a78">detDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> ** date);
<a name="l00082"></a>00082 
<a name="l00090"></a>00090 <span class="keywordtype">void</span> <a class="code" href="_date_8h.html#ac0edd61b0d590cdd416d2f63170e6286">copieDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> ** dateDest, <span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> * dateSrc);
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 <span class="comment">/* *********************************************************************</span>
<a name="l00093"></a>00093 <span class="comment">           Accesseurs et Mutateurs de la structure Date</span>
<a name="l00094"></a>00094 <span class="comment"> ********************************************************************* */</span>
<a name="l00095"></a>00095 
<a name="l00103"></a>00103 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#aff629a7f3279f4af67f19cd86f856402">getJourDat</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date) ;
<a name="l00104"></a>00104 
<a name="l00112"></a>00112 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#af791aea93535e7af19da427557d8d987">setJourDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#acf90c01a7944bfe5a2563b69c830c0c9">jour</a>) ;
<a name="l00113"></a>00113 
<a name="l00114"></a>00114 
<a name="l00122"></a>00122 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#a8e5de805dadea97233846ff131b40886">getMoisDat</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date) ;
<a name="l00123"></a>00123 
<a name="l00131"></a>00131 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#aa32baa78277c74c139a8df4e1babdd01">setMoisDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#a273956a68e89f91530aa8a4b33a94bb5">mois</a>) ;
<a name="l00132"></a>00132 
<a name="l00140"></a>00140 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="_date_8c.html#aad0245d0db096124a5fe59227ed3adcc">getAnneeDat</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date) ;
<a name="l00141"></a>00141 
<a name="l00149"></a>00149 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#a61ddd64fd30de78a30c3dc2f851678c3">setAnneeDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structs_date.html#add9049e10a4e76da935ad87e79f356c5">annee</a>) ;
<a name="l00150"></a>00150 
<a name="l00158"></a>00158 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#a06788a5c87216b3ef09560db91f8d3d5">getHeureDat</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date);
<a name="l00159"></a>00159 
<a name="l00167"></a>00167 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#a91a11973f94a56d743b243945f315f1c">setHeureDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a4a1abfda81e08c6312236b17f00a254b">heure</a>);
<a name="l00168"></a>00168 
<a name="l00176"></a>00176 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="_date_8c.html#afebc60b00425205e95a340ef44a215d6">getMinuteDat</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date);
<a name="l00177"></a>00177 
<a name="l00185"></a>00185 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#a24effb683b6650ef36affd4d67bb521c">setMinuteDat</a>(<a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_date.html#a4a1abfda81e08c6312236b17f00a254b">heure</a>);
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 
<a name="l00195"></a>00195 <span class="keywordtype">char</span> * <a class="code" href="_date_8c.html#ae981224c1bacc48824a32ffad705a818">getDateDat</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date);
<a name="l00196"></a>00196 
<a name="l00203"></a>00203 <span class="keywordtype">char</span> * <a class="code" href="_date_8c.html#ad2532109058c2a7da17457fa12dbabde">getTempsDat</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date);
<a name="l00204"></a>00204 
<a name="l00211"></a>00211 <span class="keywordtype">char</span> * <a class="code" href="_date_8c.html#a085f12fd575e2b10cef17a4ef6af3afc">getDate</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date);
<a name="l00212"></a>00212 
<a name="l00220"></a>00220 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#a9f1eaa90b3449259c421c89a55a78de5" title="Afficher l&#39;date.">affDat</a>(<span class="keyword">const</span> <a class="code" href="structs_date.html" title="Structure utilisée pour la gestion des dates.">Date</a> *date);
<a name="l00221"></a>00221 
<a name="l00226"></a>00226 <span class="keywordtype">void</span> <a class="code" href="_date_8c.html#a22d0050111d98bb73a528b65a40e9197">regDat</a>();
<a name="l00227"></a>00227 
<a name="l00228"></a>00228 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_date_8h.html">Date.h</a>      </li>
      <li class="footer">Généré le Thu Jun 7 2012 17:01:10 pour Gestion_Des_Inscriptions_Universitaires par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
